package com.ruiysoft.entity.sys;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author huazengguang
 * @since 2018-12-02
 */
@TableName("sys_shop_price")
public class SysShopPrice extends Model<SysShopPrice> {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Integer num;

    private BigDecimal price;

    private BigDecimal officalPrice;

    public Long getId() {
        return id;
    }

    public SysShopPrice setId(Long id) {
        this.id = id;
        return this;
    }
    public Integer getNum() {
        return num;
    }

    public SysShopPrice setNum(Integer num) {
        this.num = num;
        return this;
    }
    public BigDecimal getPrice() {
        return price;
    }

    public SysShopPrice setPrice(BigDecimal price) {
        this.price = price;
        return this;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public BigDecimal getOfficalPrice() {
        return officalPrice;
    }

    public void setOfficalPrice(BigDecimal officalPrice) {
        this.officalPrice = officalPrice;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "SysShopPrice{" +
        "id=" + id +
        ", num=" + num +
        ", price=" + price +
        "}";
    }
}
